$OpenBSD: patch-external_libgltf_ExternalProject_libgltf_mk,v 1.2 2016/03/01 21:39:58 robert Exp $
--- external/libgltf/ExternalProject_libgltf.mk.orig.port	Wed Jan 27 01:58:25 2016
+++ external/libgltf/ExternalProject_libgltf.mk	Wed Feb 10 14:23:02 2016
@@ -56,6 +56,7 @@ ifneq (,$(gb_ENABLE_DBGUTIL))
 libgltf_CPPFLAGS+=-D_GLIBCXX_DEBUG
 endif
 endif
+libgltf_CPPFLAGS+=-fPIC -DPIC
 
 $(call gb_ExternalProject_get_state_target,libgltf,build) :
 	$(call gb_ExternalProject_run,build,\
